package com.atguigu.springcloud.controller;

import com.atguigu.springcloud.service.IMessageService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Auther: gali
 * @Date: 2022/7/19-07-19-14:58
 * @Description:
 */
@RestController
public class SendMessageController {
    @Resource
    private IMessageService iMessageService;

    @GetMapping(value = "/sendMessage")
    public String sendMessage() {
        return iMessageService.send();
    }

}
